package com.hsy.crm.web.mapper;

import com.hsy.crm.web.config.CrmMapper;
import com.hsy.crm.web.domain.entity.Print;
import com.hsy.crm.web.domain.po.print.PrintGetPo;
import com.hsy.crm.web.domain.po.print.PrintPagePo;
import com.hsy.crm.web.domain.vo.print.PrintInsertVo;
import com.hsy.crm.web.domain.vo.print.PrintPageVo;

import java.util.List;

public interface PrintMapper extends CrmMapper<Print> {
    List<PrintPagePo> page(PrintPageVo printPageVo);

    void updatePrint(PrintInsertVo printInsertVo);
    void insertPrint(PrintInsertVo printInsertVo);
    PrintGetPo getPrint(Print print);

    void clearDefault(Print print);

    void setDefault(Print print);

    Print selectById(Print print);

}
